﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZFB.Models.EntityConfig
{
    public class HouseAppointmentsConfig : IEntityTypeConfiguration<T_HouseAppointments>
    {
        public void Configure(EntityTypeBuilder<T_HouseAppointments> builder)
        {
            builder.ToTable("T_HouseAppointments");
            builder.Property(e => e.PhoneNum).IsUnicode(false);
            builder.Property(e => e.RowVersion).IsFixedLength();

        }
    }
}
